#include <iostream>



class Numbers{
private:  //Закрытые переменные
    double m_a, m_b, m_c;
public: //Открытые переменные с методом заданием значений, он принимает 3 переменные
    void setValues(double m_a, double m_b, double m_c){
        this->m_a = m_a;
        this->m_b = m_b;
        this->m_c = m_c;
    }
    void print(){ //Метод выводит на экран
        std::cout << "<" << m_a << "," << m_b << "," << m_c <<">" << std::endl;
    }
    bool isEqual(Numbers points){
        return m_a==points.m_a && m_b==points.m_b && m_c==points.m_c;
    }
};

int main()
{
    Numbers point1;
    point1.setValues(3.0, 4.0, 5.0);

    Numbers point2;
    point2.setValues(3.0, 4.0, 5.0);

    if (point1.isEqual(point2))
        std::cout << "point1 and point2 are equal\n";
    else
        std::cout << "point1 and point2 are not equal\n";

    Numbers point3;
    point3.setValues(7.0, 8.0, 9.0);

    if (point1.isEqual(point3))
        std::cout << "point1 and point3 are equal\n";
    else
        std::cout << "point1 and point3 are not equal\n";

    return 0;
}
